﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NFine.Domain._03_Entity.Biz
{
    public class MemberBonusEntity : IEntity<MemberBonusEntity>
    {
        public string F_Id { get; set; }
        /// <summary>
        /// 会员id
        /// </summary>
        public string F_MemberId { get; set; }
        /// <summary>
        /// 订单id
        /// </summary>
        public string F_OrderId { get; set; }
        /// <summary>
        /// 分红金额
        /// </summary>
        public decimal? F_BonusAmount { get; set; }


        /// <summary>
        /// 分红后的余额
        /// </summary>
        public decimal? F_CurAmount { get; set; }
        
        /// <summary>
        /// 分红等级
        /// </summary>
        public int? F_BonusLevel { get; set; }
        /// <summary>
        /// 分红时间
        /// </summary>
        public DateTime F_BonusTime { get; set; }
        /// <summary>
        /// 分红类型，使用类型0，分红，1提现，2提现手续费，3为余额消费
        /// </summary>
        public int? F_BonusType { get; set; }

        /// <summary>
        /// 分红的备注信息
        /// </summary>
        public string F_bz { get; set; }



        [NotMapped]
        public string Account { get; set; }
        [NotMapped]
        public string RealName { get; set; }
        [NotMapped]
        public string NickName { get; set; }
        [NotMapped]
        public string MobilePhone { get; set; }
        [NotMapped]
        public string OrderMemberName { get; set; }
        [NotMapped]
        public DateTime CreatorTime { get; set; }
    }
}
